<?php
include_once (_CORE_PATH . "libs/mailer/class.phpmailer.php");
class mailer_class extends PHPMailer implements lib_prototype_class
{

    public function Get()
    {
        $mail = new PHPMailer();
        $mail->PluginDir = _CORE_PATH . "libs/mailer/";
        
        $mail->CharSet = 'utf-8';

        /*
		$mail->IsSMTP();
		$mail->SMTPAuth   = true;                  // enable SMTP authentication
		$mail->SMTPSecure = "ssl";                 // sets the prefix to the servier
		$mail->Host       = "smtp.gmail.com";      // sets GMAIL as the SMTP server
		$mail->Port       = 465;                   // set the SMTP port for the GMAIL server
		
		$mail->Username   = "";  // GMAIL username
		$mail->Password   = "";            // GMAIL password        
        */
        return $mail;
    }
    
}